package com.wl.user.service;

import com.wl.user.domain.User;
import com.wl.basic.service.BaseService;
import com.wl.user.dto.EmailDto;
import com.wl.user.dto.UserDto;

import javax.mail.MessagingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-08-21
 */
public interface IUserService extends BaseService<User> {
    //手机注册
    void phoneRegister(UserDto userDto);
    //邮箱注册
    void emailRegister(EmailDto emailDto) throws MessagingException;
}
